package com.gmadmin.sysadmin.security.dto;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.time.LocalDateTime;

@Schema(description = "在线用户")
public record OnlineUserDto(@Schema(description = "用户id") Integer id,
                            @Schema(description = "用户名") String userName,
                            @Schema(description = "昵称") String nickName,
                            @Schema(description = "浏览器") String browser,
                            @Schema(description = "IP")  String ip,
                            @Schema(description = "地址")  String address,
                            @Schema(description = "token") String token,
                            @Schema(description = "登录时间") LocalDateTime loginTime,
                            @Schema(description = "用户授权信息") UserDetailsDto userDetailsDto)
        implements Serializable {

}
